package com.mxt.moviedemo.service;

import com.mxt.moviedemo.entity.*;
import org.springframework.data.domain.PageRequest;

public interface MoviesService {
    PageResult<Movies> getMoviesByPage(PageRequest pageRequest);

    PageResult<Movies> searchMoviesByKeyword(PageRequest pageRequest, String keyword);


    Movies getMovieById(int mid);
}
